class CreateBudgetExceptions < ActiveRecord::Migration
  def change
    create_table :budget_exceptions do |t|
      t.integer :account_id
      t.date :month
      t.references :category
      t.integer :authorizer_id

      t.timestamps
    end
    add_index :budget_exceptions, :category_id
  end
end
